Skip to content

feat: embed mode and chat commands (remove background, crop) - #36

Merged
odykyi merged 1 commit into
mainfrom
claude/studio-embed-commands
Nov 24, 2026
Merged

odykyi merged 1 commit into
mainfrom
claude/studio-embed-commands

Conversation

@odykyi

@odykyi odykyi commented Nov 24, 2026

Copy link
Copy Markdown
Member

Studio as a plugin in chat.flisk.si.

  • ?embed=1 hides the side panel, so chat can frame the editor.
  • The editor obeys postMessage commands from chat.flisk.si (and a localhost origin for development): removeBackground, and crop with a shape (1:1, 4:3, 3:2, 16:9, 3:4, 9:16). Each gets a reply {ok, note}. Messages from any other origin are ignored; replies are never run as commands.
  • Bare crop with no shape asks which shape; no photo says to open one.
  • tests/embed.spec.js covers it. Checked by hand in the browser; the Playwright suite was not run locally.

Chat side: flisk-sh/chat#451.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: odykyi <24225497+odykyi@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 406efeca-b61a-47ed-9a63-eb73695fd3a6
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@sonarqubecloud

Copy link
Copy Markdown

@odykyi
odykyi merged commit d6335af into main Nov 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant